﻿using UnityEngine;
using System.Collections.Generic;

public class CardModel
{
	private List<string> questions;
	public List<string> Questions { get { return this.questions; } }

	private List<List<string>> answers;
	public List<List<string>> Answers { get { return this.answers; } }

	private Dictionary<string, List<List<string>>> questionsAndAnswers;
	public Dictionary<string, List<List<string>>> QuestionsAndAnswers { get { return questionsAndAnswers; } }

	public CardModel()
	{
		questions = new List<string> ();
		answers = new List<List<string>> ();
		questionsAndAnswers = new Dictionary<string, List<List<string>>> ();
	}

	public void FakeData()
	{
		questions.Add ("Que es la vieja de Uriel?");
		List<string> ans = new List<string> ();
		ans.Add ("Un Cabro");
		ans.Add ("Un Cabrito");
		ans.Add ("Un Pokimon");
		ans.Add ("Una Espada que Trenspasa");
		ans.Add ("La Vieja del Gordo");
		ans.Add ("Solid Snake");
		ans.Add ("No se, no la vere NUNCA");
		ans.Add ("La Vieja de TODOS");
		answers.Add (ans);

		questionsAndAnswers.Add (questions[0], answers);
		ans = new List<string> ();
		
		questions.Add ("Que es la vieja del Gordo?");
		ans.Add ("Un Cabrito");
		ans.Add ("No se, no la vere NUNCA");
		ans.Add ("La Vieja del Uriel");
		ans.Add ("Una Espada que Trenspasa");
		ans.Add ("Liquid Snake");
		ans.Add ("Un Cabro");
		ans.Add ("La Vieja de NINGUNO");
		ans.Add ("Un Pokimon");
		answers.Add (ans);
		
		questionsAndAnswers.Add (questions[1], answers);
	}
}
